package com.yunqiao.service.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.entity.SysSmscodeEntity;

import java.util.Map;

/**
 * 短信验证码
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-06 15:30:51
 */
public interface SysSmscodeService extends IService<SysSmscodeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 发送验证码
     * @return
     */
    String sendSms(String phone) throws Exception;
}

